import axios from 'axios'
import config from '@/config'

export function assignNextCheckinInfo(date) {
    const url = config.serverURI + config.api.okumasan.assign_next_checkin_info
    return axios({
        method: 'post',
        url: url,
        data: {date}
    })
}


export function getCleanList(date) {
    const url = config.serverURI + config.api.clean_list
    return axios({
        method: 'post',
        url: url,
        data: {
            date
        }
    })
}

export function batchClenaerCost(data) {
    const url = config.serverURI + config.api.okumasan.batch_handle_cleaner_cost
    return axios({
        method: 'post',
        url: url,
        data
    })
}


export function sendDeliveryOrder(data) {
    const url = config.serverURI + config.api.okumasan.send_delivery_order
    return axios({
        method: 'post',
        url: url,
        data
    })
}